/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package airacrobats.io.data;

import javax.vecmath.Matrix4f;
import javax.vecmath.Point3f;
import javax.vecmath.Quat4f;

/**
 * The ghost data class contains information about the quaternion and the position of the object in
 * a given time. This class contains dynamic data, its content is not loaded from the disk.
 */
public class GhostData
{
    /**
     * Quaternion.
     */
    private Quat4f rQuaternion;
    /**
     * Position.
     */
    private Point3f position;
    /**
     * Time.
     */
    private long time;
    /**
     * Smoke flag.
     */
    private boolean smokeOn;

    /**
     * @param rQuaternion Quaternion.
     * @param position Position.
     * @param time Time.
     * @param smokeOn Smoke flag.
     */
    public GhostData(Quat4f rQuaternion, Point3f position, long time, boolean smokeOn)
    {
        this.rQuaternion = rQuaternion;
        this.position = position;
        this.time = time;
        this.smokeOn = smokeOn;
    }

    /**
     * @return The position.
     */
    public Point3f getPosition()
    {
        return position;
    }

    /**
     * @return The quaternion.
     */
    public Quat4f getQuaternion()
    {
        return rQuaternion;
    }

    /**
     * @return The time.
     */
    public long getTime()
    {
        return time;
    }

    /**
     * @return The smoke on flag.
     */
    public boolean isSmokeOn()
    {
        return smokeOn;
    }
}
